package com.szu.subject.ui.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.szu.subject.domains.CourseStudent;
import com.szu.subject.domains.Selection;
import com.szu.subject.domains.StudentNum;

@Mapper
public interface SelectionMapper {

	void addCourses(Selection selection);

	void removeCourses(Selection selection);

	List<StudentNum> selectNum(List<Long> coursesId);

	List<Long> getPStudentIdByCourse(Long courseId);

	void removeOverflow(List<CourseStudent> courseStudents);
}
